@inputHeight: 30px;
@inputRadius: 4px;

.smallPanelViewContainer {
  // margin-right: 25px;

  .inbiz-search-engine {
    padding: 0;
    height: 100%;

    .search-body-container {
      min-height: @inputHeight;
      max-width: 4000px; /*主要是为了覆盖style.less中的这个属性*/
      margin: 0;
    }

    .smallPanelViewInputClassName {
      .ant-input-group-wrapper {

        .ant-input-wrapper {
          height: @inputHeight;

          .ant-input-group-addon {
            // border-top-left-radius: @inputRadius;
            // border-bottom-left-radius: @inputRadius;
            height: @inputHeight;
            background-color: #fff;
            padding: 0;

            .show-more-icon {
              color: #707070;
              font-size: 12px;
            }
          }

          .ant-input-affix-wrapper-lg {
            border-left: none;
          }
        }
      }

      .ant-input-affix-wrapper {
        padding: 0;
      }

      .ant-input {
        height: @inputHeight  !important;
        padding: 0;
      }

      .ant-input-suffix {
        padding: 4px 12px;
        height: 30px;
        line-height: 30px;

        .anticon {
          // display: flex;
          // align-items: center;
          margin-right: 10px;
          // line-height: 1;

          &:hover {
            color: var(--ant-primary-color);
            // background-color: var(--ant-primary-1);
          }
        }

        .ant-divider {
          margin: 0;
        }
      }
    }
  }

  .previewtype {
    .ant-input-affix-wrapper {
      border-left: none;
    }

    .ant-select-lg .ant-select-selection-item {
      // font-size: 14px !important;
      font-size: var(--inbiz-font-size-base);
    }
    .ant-input-suffix {
      padding: 0 10px;
    }
    .ant-input-affix-wrapper {
      padding: 0 10px;
    }
    .ant-input {
      height: 30px;
    }
  }

  .ant-input-affix-wrapper:hover {
    border-color: #d9d9d9 !important;
    box-shadow: none;
  }

  .ant-input-group-addon {
    width: 100px;
    padding: 0;
    position: relative;
    border-radius: var(--inbiz-border-radius-base) 0 0 var(--inbiz-border-radius-base);

    .ant-select {
      margin: 0 !important;
      height: 30px;
      line-height: 30px;
      border-radius: var(--inbiz-border-radius-base) 0 0 var(--inbiz-border-radius-base);

      .ant-select-selector {
        height: 100% !important;
        background-color: #fff !important;
        .ant-select-selection-search,
        .ant-select-selection-item {
          line-height: 28px !important;
          text-align: left;
        }
      }

      .show-more-icon {
        color: #707070;
        pointer-events: none !important
      }
    }
    .ant-select-open {
      .show-more-icon {
        color: var(--ant-primary-color);
      }
    }

    .ant-divider {
      position: absolute;
      z-index: 20;
      top: 6px;
    }

    .ant-tag {
      height: 24px;
      line-height: 24px;
      background-color: #f5f5f5;
      border-radius: 4px;
      border: none;
      margin: 0 0 0 10px;

      .ant-typography {
        font-size: 12px;
        line-height: 24px;
        color: #666;
      }
    }
  }
}